package learning.designpatterns.builder;

import learning.designpatterns.builder.vehiclebuilder.CarBuilder;
import learning.designpatterns.builder.vehiclebuilder.Shop;
import learning.designpatterns.builder.vehiclebuilder.VehicleBuilder;

public class Main {

    public static void main(String[] args) {
        Shop shop = new Shop();
        VehicleBuilder carBuilder = new CarBuilder();
        shop.construct(carBuilder);

        System.out.println(carBuilder.getVehicle());
    }
}
